package com.easybuy.service;

import java.util.List;

import com.easybuy.entity.GoodsType;

public interface GoodsTypeService {

	public List<GoodsType> getList(String name, int level, int first,
			int maxResult);

	public int getCount(String name, int level);

	public void add(GoodsType goodsType);

	public List<GoodsType> getByParentId(int parentId);
}
